package com.iot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.iot.model.entity.DeviceDataLocationEntity;
import com.iot.model.query.DeviceDataLocationQuery;
import com.iot.model.dto.DeviceDataLocationDto;
import com.iot.commons.ResponseResult;
import com.iot.model.query.FollowQuery;

import java.util.List;

/**
 * DeviceDataLocationService
 * @author: dh
 * @date: 2024-04-21 11:49:52
 */
public interface DeviceDataLocationService {

    ResponseResult getList(DeviceDataLocationQuery deviceDataLocation);

    ResponseResult edit(DeviceDataLocationDto deviceDataLocation);

    ResponseResult upload(List<DeviceDataLocationDto> deviceDataLocation,Long authId);

    ResponseResult getById(DeviceDataLocationQuery deviceDataLocation);

    IPage<DeviceDataLocationEntity> getByDate(FollowQuery follow, Long followAuthId);
}